package com.example.patient.mapper;

import com.example.patient.dto.resp.AddressListsResp;
import com.example.patient.dto.resp.DCRelationListsResp;
import com.example.patient.dto.resp.MyFollowrListResp;
import com.example.patient.dto.resp.PatientListsResp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author wxy
 * @Date 2021/1/27 13:52
 * @Version 1.0
 */
public interface UserMapper {

    List<DCRelationListsResp> DCRelationLists(@Param("uid") Long uid);

    List<PatientListsResp> PatientLists(@Param("uid") Long uid, @Param("skip") Integer skip,@Param("limit") Integer limit);

    List<AddressListsResp> AddressLists(@Param("uid") Long uid);

    List<MyFollowrListResp> findMyFollowrList(@Param("uid") Long uid);

    Long countPatientLists(@Param("uid") Long uid);
}
